POV-Ray : Newsgroups : povray.advanced-users : help with my code : Re: help with my code Server Time
28 Jul 2024 10:14:51 EDT (-0400)
  Re: help with my code  
From: Warp
Date: 13 Feb 2006 16:15:43
Message: <43f0f6ff@news.povray.org>
Dennis Miller <dhm### [at] comcastnet> wrote:
> #declare Pic = function {
>  pigment {
>   image_map {
>   tga concat("e:\\me\\me", str(clock*356,-3,0), ".tga")
>     map_type 1
>     interpolate 2
>   } } }

  This creates a pigment function (which uses an image map).

>   isosurface {
>     function {
>       (1 - Pic(x, y, z).grey) * 0.4 +  Sphere(x, y, z)   }

  And this uses the grayscale values of that pigment function.

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.